<?php
	require('../pub.php');
	require(_ROOT.'/db.php');
?>
<table width="768" align="center" border="0">
<tr>
	<td>当前数据库存在的用户账户信息：</td>
</tr>
	<td><tr></td>	
<br />
</tr>
</table>
<table width="768" align="center" border="1">
<tr>
	<td>用户名：</td>
	<td>密码：</td>
	<td>等级：</td>
	<td>IP：</td>
	<td>开始时间：</td>
	<td>结束时间：</td>
	<td>时间长度：</td>
</tr>
<?php
	$sql = "select * from t_t_user";
	$data = mysql_query($sql, $conn);
	while ($arr = mysql_fetch_array($data))
	{
	?>
	<tr>
		<td><?php echo $arr[t_tuser]; ?></td>
		<td><?php echo $arr[t_psw]; ?></td>
		<td><?php echo $arr[t_level]; ?></td>
		<td><?php echo $arr[t_ip]; ?></td>
		<td><?php echo $arr[t_startTime]; ?></td>
		<td><?php echo $arr[t_endTime]; ?></td>
		<td><?php echo $arr[t_timeLength]; ?></td>
	</tr>
	<?php
	}
	$input = "password";
	$output = md5($input);
	echo $output;
?>
</table>

